package com.zkzx.freight.bill.mapper.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public OrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public OrderExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public OrderExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public OrderExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompanyidIsNull() {
            addCriterion("companyId is null");
            return (Criteria) this;
        }

        public Criteria andCompanyidIsNotNull() {
            addCriterion("companyId is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyidEqualTo(Integer value) {
            addCriterion("companyId =", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotEqualTo(Integer value) {
            addCriterion("companyId <>", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidGreaterThan(Integer value) {
            addCriterion("companyId >", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("companyId >=", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidLessThan(Integer value) {
            addCriterion("companyId <", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidLessThanOrEqualTo(Integer value) {
            addCriterion("companyId <=", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidIn(List<Integer> values) {
            addCriterion("companyId in", values, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotIn(List<Integer> values) {
            addCriterion("companyId not in", values, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidBetween(Integer value1, Integer value2) {
            addCriterion("companyId between", value1, value2, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotBetween(Integer value1, Integer value2) {
            addCriterion("companyId not between", value1, value2, "companyid");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(String value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(String value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(String value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(String value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(String value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(String value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLike(String value) {
            addCriterion("cid like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotLike(String value) {
            addCriterion("cid not like", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<String> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<String> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(String value1, String value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(String value1, String value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andEscortpicIsNull() {
            addCriterion("escortPic is null");
            return (Criteria) this;
        }

        public Criteria andEscortpicIsNotNull() {
            addCriterion("escortPic is not null");
            return (Criteria) this;
        }

        public Criteria andEscortpicEqualTo(String value) {
            addCriterion("escortPic =", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicNotEqualTo(String value) {
            addCriterion("escortPic <>", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicGreaterThan(String value) {
            addCriterion("escortPic >", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicGreaterThanOrEqualTo(String value) {
            addCriterion("escortPic >=", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicLessThan(String value) {
            addCriterion("escortPic <", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicLessThanOrEqualTo(String value) {
            addCriterion("escortPic <=", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicLike(String value) {
            addCriterion("escortPic like", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicNotLike(String value) {
            addCriterion("escortPic not like", value, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicIn(List<String> values) {
            addCriterion("escortPic in", values, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicNotIn(List<String> values) {
            addCriterion("escortPic not in", values, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicBetween(String value1, String value2) {
            addCriterion("escortPic between", value1, value2, "escortpic");
            return (Criteria) this;
        }

        public Criteria andEscortpicNotBetween(String value1, String value2) {
            addCriterion("escortPic not between", value1, value2, "escortpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicIsNull() {
            addCriterion("loadPic is null");
            return (Criteria) this;
        }

        public Criteria andLoadpicIsNotNull() {
            addCriterion("loadPic is not null");
            return (Criteria) this;
        }

        public Criteria andLoadpicEqualTo(String value) {
            addCriterion("loadPic =", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicNotEqualTo(String value) {
            addCriterion("loadPic <>", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicGreaterThan(String value) {
            addCriterion("loadPic >", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicGreaterThanOrEqualTo(String value) {
            addCriterion("loadPic >=", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicLessThan(String value) {
            addCriterion("loadPic <", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicLessThanOrEqualTo(String value) {
            addCriterion("loadPic <=", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicLike(String value) {
            addCriterion("loadPic like", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicNotLike(String value) {
            addCriterion("loadPic not like", value, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicIn(List<String> values) {
            addCriterion("loadPic in", values, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicNotIn(List<String> values) {
            addCriterion("loadPic not in", values, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicBetween(String value1, String value2) {
            addCriterion("loadPic between", value1, value2, "loadpic");
            return (Criteria) this;
        }

        public Criteria andLoadpicNotBetween(String value1, String value2) {
            addCriterion("loadPic not between", value1, value2, "loadpic");
            return (Criteria) this;
        }

        public Criteria andSignpicIsNull() {
            addCriterion("signPic is null");
            return (Criteria) this;
        }

        public Criteria andSignpicIsNotNull() {
            addCriterion("signPic is not null");
            return (Criteria) this;
        }

        public Criteria andSignpicEqualTo(String value) {
            addCriterion("signPic =", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicNotEqualTo(String value) {
            addCriterion("signPic <>", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicGreaterThan(String value) {
            addCriterion("signPic >", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicGreaterThanOrEqualTo(String value) {
            addCriterion("signPic >=", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicLessThan(String value) {
            addCriterion("signPic <", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicLessThanOrEqualTo(String value) {
            addCriterion("signPic <=", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicLike(String value) {
            addCriterion("signPic like", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicNotLike(String value) {
            addCriterion("signPic not like", value, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicIn(List<String> values) {
            addCriterion("signPic in", values, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicNotIn(List<String> values) {
            addCriterion("signPic not in", values, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicBetween(String value1, String value2) {
            addCriterion("signPic between", value1, value2, "signpic");
            return (Criteria) this;
        }

        public Criteria andSignpicNotBetween(String value1, String value2) {
            addCriterion("signPic not between", value1, value2, "signpic");
            return (Criteria) this;
        }

        public Criteria andDischargepicIsNull() {
            addCriterion("dischargePic is null");
            return (Criteria) this;
        }

        public Criteria andDischargepicIsNotNull() {
            addCriterion("dischargePic is not null");
            return (Criteria) this;
        }

        public Criteria andDischargepicEqualTo(String value) {
            addCriterion("dischargePic =", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicNotEqualTo(String value) {
            addCriterion("dischargePic <>", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicGreaterThan(String value) {
            addCriterion("dischargePic >", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicGreaterThanOrEqualTo(String value) {
            addCriterion("dischargePic >=", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicLessThan(String value) {
            addCriterion("dischargePic <", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicLessThanOrEqualTo(String value) {
            addCriterion("dischargePic <=", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicLike(String value) {
            addCriterion("dischargePic like", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicNotLike(String value) {
            addCriterion("dischargePic not like", value, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicIn(List<String> values) {
            addCriterion("dischargePic in", values, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicNotIn(List<String> values) {
            addCriterion("dischargePic not in", values, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicBetween(String value1, String value2) {
            addCriterion("dischargePic between", value1, value2, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDischargepicNotBetween(String value1, String value2) {
            addCriterion("dischargePic not between", value1, value2, "dischargepic");
            return (Criteria) this;
        }

        public Criteria andDriveridIsNull() {
            addCriterion("driverId is null");
            return (Criteria) this;
        }

        public Criteria andDriveridIsNotNull() {
            addCriterion("driverId is not null");
            return (Criteria) this;
        }

        public Criteria andDriveridEqualTo(String value) {
            addCriterion("driverId =", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridNotEqualTo(String value) {
            addCriterion("driverId <>", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridGreaterThan(String value) {
            addCriterion("driverId >", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridGreaterThanOrEqualTo(String value) {
            addCriterion("driverId >=", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridLessThan(String value) {
            addCriterion("driverId <", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridLessThanOrEqualTo(String value) {
            addCriterion("driverId <=", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridLike(String value) {
            addCriterion("driverId like", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridNotLike(String value) {
            addCriterion("driverId not like", value, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridIn(List<String> values) {
            addCriterion("driverId in", values, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridNotIn(List<String> values) {
            addCriterion("driverId not in", values, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridBetween(String value1, String value2) {
            addCriterion("driverId between", value1, value2, "driverid");
            return (Criteria) this;
        }

        public Criteria andDriveridNotBetween(String value1, String value2) {
            addCriterion("driverId not between", value1, value2, "driverid");
            return (Criteria) this;
        }

        public Criteria andDrivernameIsNull() {
            addCriterion("driverName is null");
            return (Criteria) this;
        }

        public Criteria andDrivernameIsNotNull() {
            addCriterion("driverName is not null");
            return (Criteria) this;
        }

        public Criteria andDrivernameEqualTo(String value) {
            addCriterion("driverName =", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameNotEqualTo(String value) {
            addCriterion("driverName <>", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameGreaterThan(String value) {
            addCriterion("driverName >", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameGreaterThanOrEqualTo(String value) {
            addCriterion("driverName >=", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameLessThan(String value) {
            addCriterion("driverName <", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameLessThanOrEqualTo(String value) {
            addCriterion("driverName <=", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameLike(String value) {
            addCriterion("driverName like", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameNotLike(String value) {
            addCriterion("driverName not like", value, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameIn(List<String> values) {
            addCriterion("driverName in", values, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameNotIn(List<String> values) {
            addCriterion("driverName not in", values, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameBetween(String value1, String value2) {
            addCriterion("driverName between", value1, value2, "drivername");
            return (Criteria) this;
        }

        public Criteria andDrivernameNotBetween(String value1, String value2) {
            addCriterion("driverName not between", value1, value2, "drivername");
            return (Criteria) this;
        }

        public Criteria andTruckidIsNull() {
            addCriterion("truckId is null");
            return (Criteria) this;
        }

        public Criteria andTruckidIsNotNull() {
            addCriterion("truckId is not null");
            return (Criteria) this;
        }

        public Criteria andTruckidEqualTo(String value) {
            addCriterion("truckId =", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidNotEqualTo(String value) {
            addCriterion("truckId <>", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidGreaterThan(String value) {
            addCriterion("truckId >", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidGreaterThanOrEqualTo(String value) {
            addCriterion("truckId >=", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidLessThan(String value) {
            addCriterion("truckId <", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidLessThanOrEqualTo(String value) {
            addCriterion("truckId <=", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidLike(String value) {
            addCriterion("truckId like", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidNotLike(String value) {
            addCriterion("truckId not like", value, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidIn(List<String> values) {
            addCriterion("truckId in", values, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidNotIn(List<String> values) {
            addCriterion("truckId not in", values, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidBetween(String value1, String value2) {
            addCriterion("truckId between", value1, value2, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckidNotBetween(String value1, String value2) {
            addCriterion("truckId not between", value1, value2, "truckid");
            return (Criteria) this;
        }

        public Criteria andTruckcodeIsNull() {
            addCriterion("truckCode is null");
            return (Criteria) this;
        }

        public Criteria andTruckcodeIsNotNull() {
            addCriterion("truckCode is not null");
            return (Criteria) this;
        }

        public Criteria andTruckcodeEqualTo(String value) {
            addCriterion("truckCode =", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeNotEqualTo(String value) {
            addCriterion("truckCode <>", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeGreaterThan(String value) {
            addCriterion("truckCode >", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeGreaterThanOrEqualTo(String value) {
            addCriterion("truckCode >=", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeLessThan(String value) {
            addCriterion("truckCode <", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeLessThanOrEqualTo(String value) {
            addCriterion("truckCode <=", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeLike(String value) {
            addCriterion("truckCode like", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeNotLike(String value) {
            addCriterion("truckCode not like", value, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeIn(List<String> values) {
            addCriterion("truckCode in", values, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeNotIn(List<String> values) {
            addCriterion("truckCode not in", values, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeBetween(String value1, String value2) {
            addCriterion("truckCode between", value1, value2, "truckcode");
            return (Criteria) this;
        }

        public Criteria andTruckcodeNotBetween(String value1, String value2) {
            addCriterion("truckCode not between", value1, value2, "truckcode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeIsNull() {
            addCriterion("insuranceCode is null");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeIsNotNull() {
            addCriterion("insuranceCode is not null");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeEqualTo(String value) {
            addCriterion("insuranceCode =", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeNotEqualTo(String value) {
            addCriterion("insuranceCode <>", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeGreaterThan(String value) {
            addCriterion("insuranceCode >", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeGreaterThanOrEqualTo(String value) {
            addCriterion("insuranceCode >=", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeLessThan(String value) {
            addCriterion("insuranceCode <", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeLessThanOrEqualTo(String value) {
            addCriterion("insuranceCode <=", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeLike(String value) {
            addCriterion("insuranceCode like", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeNotLike(String value) {
            addCriterion("insuranceCode not like", value, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeIn(List<String> values) {
            addCriterion("insuranceCode in", values, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeNotIn(List<String> values) {
            addCriterion("insuranceCode not in", values, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeBetween(String value1, String value2) {
            addCriterion("insuranceCode between", value1, value2, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andInsurancecodeNotBetween(String value1, String value2) {
            addCriterion("insuranceCode not between", value1, value2, "insurancecode");
            return (Criteria) this;
        }

        public Criteria andOverrunpicIsNull() {
            addCriterion("overrunPic is null");
            return (Criteria) this;
        }

        public Criteria andOverrunpicIsNotNull() {
            addCriterion("overrunPic is not null");
            return (Criteria) this;
        }

        public Criteria andOverrunpicEqualTo(String value) {
            addCriterion("overrunPic =", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicNotEqualTo(String value) {
            addCriterion("overrunPic <>", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicGreaterThan(String value) {
            addCriterion("overrunPic >", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicGreaterThanOrEqualTo(String value) {
            addCriterion("overrunPic >=", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicLessThan(String value) {
            addCriterion("overrunPic <", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicLessThanOrEqualTo(String value) {
            addCriterion("overrunPic <=", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicLike(String value) {
            addCriterion("overrunPic like", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicNotLike(String value) {
            addCriterion("overrunPic not like", value, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicIn(List<String> values) {
            addCriterion("overrunPic in", values, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicNotIn(List<String> values) {
            addCriterion("overrunPic not in", values, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicBetween(String value1, String value2) {
            addCriterion("overrunPic between", value1, value2, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andOverrunpicNotBetween(String value1, String value2) {
            addCriterion("overrunPic not between", value1, value2, "overrunpic");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIsNull() {
            addCriterion("submitTime is null");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIsNotNull() {
            addCriterion("submitTime is not null");
            return (Criteria) this;
        }

        public Criteria andSubmittimeEqualTo(String value) {
            addCriterion("submitTime =", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotEqualTo(String value) {
            addCriterion("submitTime <>", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeGreaterThan(String value) {
            addCriterion("submitTime >", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeGreaterThanOrEqualTo(String value) {
            addCriterion("submitTime >=", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLessThan(String value) {
            addCriterion("submitTime <", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLessThanOrEqualTo(String value) {
            addCriterion("submitTime <=", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeLike(String value) {
            addCriterion("submitTime like", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotLike(String value) {
            addCriterion("submitTime not like", value, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeIn(List<String> values) {
            addCriterion("submitTime in", values, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotIn(List<String> values) {
            addCriterion("submitTime not in", values, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeBetween(String value1, String value2) {
            addCriterion("submitTime between", value1, value2, "submittime");
            return (Criteria) this;
        }

        public Criteria andSubmittimeNotBetween(String value1, String value2) {
            addCriterion("submitTime not between", value1, value2, "submittime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIsNull() {
            addCriterion("lastModifiedTime is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIsNotNull() {
            addCriterion("lastModifiedTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeEqualTo(Date value) {
            addCriterion("lastModifiedTime =", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotEqualTo(Date value) {
            addCriterion("lastModifiedTime <>", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeGreaterThan(Date value) {
            addCriterion("lastModifiedTime >", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastModifiedTime >=", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeLessThan(Date value) {
            addCriterion("lastModifiedTime <", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeLessThanOrEqualTo(Date value) {
            addCriterion("lastModifiedTime <=", value, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeIn(List<Date> values) {
            addCriterion("lastModifiedTime in", values, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotIn(List<Date> values) {
            addCriterion("lastModifiedTime not in", values, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeBetween(Date value1, Date value2) {
            addCriterion("lastModifiedTime between", value1, value2, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andLastmodifiedtimeNotBetween(Date value1, Date value2) {
            addCriterion("lastModifiedTime not between", value1, value2, "lastmodifiedtime");
            return (Criteria) this;
        }

        public Criteria andCreateuserIsNull() {
            addCriterion("createUser is null");
            return (Criteria) this;
        }

        public Criteria andCreateuserIsNotNull() {
            addCriterion("createUser is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuserEqualTo(Integer value) {
            addCriterion("createUser =", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotEqualTo(Integer value) {
            addCriterion("createUser <>", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserGreaterThan(Integer value) {
            addCriterion("createUser >", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserGreaterThanOrEqualTo(Integer value) {
            addCriterion("createUser >=", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserLessThan(Integer value) {
            addCriterion("createUser <", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserLessThanOrEqualTo(Integer value) {
            addCriterion("createUser <=", value, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserIn(List<Integer> values) {
            addCriterion("createUser in", values, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotIn(List<Integer> values) {
            addCriterion("createUser not in", values, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserBetween(Integer value1, Integer value2) {
            addCriterion("createUser between", value1, value2, "createuser");
            return (Criteria) this;
        }

        public Criteria andCreateuserNotBetween(Integer value1, Integer value2) {
            addCriterion("createUser not between", value1, value2, "createuser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIsNull() {
            addCriterion("lastModifiedUser is null");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIsNotNull() {
            addCriterion("lastModifiedUser is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserEqualTo(Integer value) {
            addCriterion("lastModifiedUser =", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotEqualTo(Integer value) {
            addCriterion("lastModifiedUser <>", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserGreaterThan(Integer value) {
            addCriterion("lastModifiedUser >", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserGreaterThanOrEqualTo(Integer value) {
            addCriterion("lastModifiedUser >=", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserLessThan(Integer value) {
            addCriterion("lastModifiedUser <", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserLessThanOrEqualTo(Integer value) {
            addCriterion("lastModifiedUser <=", value, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserIn(List<Integer> values) {
            addCriterion("lastModifiedUser in", values, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotIn(List<Integer> values) {
            addCriterion("lastModifiedUser not in", values, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserBetween(Integer value1, Integer value2) {
            addCriterion("lastModifiedUser between", value1, value2, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andLastmodifieduserNotBetween(Integer value1, Integer value2) {
            addCriterion("lastModifiedUser not between", value1, value2, "lastmodifieduser");
            return (Criteria) this;
        }

        public Criteria andThreeidIsNull() {
            addCriterion("threeId is null");
            return (Criteria) this;
        }

        public Criteria andThreeidIsNotNull() {
            addCriterion("threeId is not null");
            return (Criteria) this;
        }

        public Criteria andThreeidEqualTo(String value) {
            addCriterion("threeId =", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotEqualTo(String value) {
            addCriterion("threeId <>", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidGreaterThan(String value) {
            addCriterion("threeId >", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidGreaterThanOrEqualTo(String value) {
            addCriterion("threeId >=", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLessThan(String value) {
            addCriterion("threeId <", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLessThanOrEqualTo(String value) {
            addCriterion("threeId <=", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidLike(String value) {
            addCriterion("threeId like", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotLike(String value) {
            addCriterion("threeId not like", value, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidIn(List<String> values) {
            addCriterion("threeId in", values, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotIn(List<String> values) {
            addCriterion("threeId not in", values, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidBetween(String value1, String value2) {
            addCriterion("threeId between", value1, value2, "threeid");
            return (Criteria) this;
        }

        public Criteria andThreeidNotBetween(String value1, String value2) {
            addCriterion("threeId not between", value1, value2, "threeid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}